package main

import (
	"fmt"
)

// 定义接口
type Stringer interface {
	StringZH() string
	String() string
}

type Person struct {
	Name, Country string
}

func (p Person) String() string {
	return fmt.Sprintf("%v is from %v", p.Name, p.Country)
}

func (p Person) StringZH() string {
	return fmt.Sprintf("%v 来自 %v", p.Name, p.Country)
}

func main() {
	rs := Person{"John Doe", "USA"}
	ab := Person{"Mark Collins", "United Kingdom"}
	fmt.Printf("%s\n%s\n", rs, ab.StringZH())
}
